<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>js对象</title>
		<script>
		var p={name:"jack",age:25,gender:"女",
		
		tostring:function(){
			return this.name+this.age+this.gender;
		}
		};
		
		p.school="中国人民大学";
		p.add=function(a){
			return a+=1;
		}
		console.log(p.add(p.age));
		console.table(p);
		console.log(p.tostring());

		</script>
	</head>
	<body>
	</body>
</html>
